//
//  LSLHotView.m
//  仿淘宝
//
//  Created by it001 on 17/3/31.
//  Copyright © 2017年 it001. All rights reserved.
//

#import "LSLHotView.h"

@interface LSLHotView ()
@property (weak, nonatomic) IBOutlet UIImageView *imgView;

@property (weak, nonatomic) IBOutlet UILabel *FirstLabel;


@end

@implementation LSLHotView

+ (instancetype)lslHotView {
    
    return [[NSBundle mainBundle] loadNibNamed:NSStringFromClass(self) owner:nil options:nil].firstObject;
}

- (void)awakeFromNib {
    [super awakeFromNib];
  
}


- (instancetype)initWithCoder:(NSCoder *)aDecoder {
    self = [super initWithCoder:aDecoder];
    if (self) {
        
    }
    
    return self;
}

- (void)setDic:(NSDictionary *)dic {
    HomeLoopModel *model = dic;
    _dic = dic;
    self.FirstLabel.text = model.title;
}

@end
